Mediavine\Create\Creations D

Total Complexity 135
Dependencies 13
Dependents 5
Total lines 1,515
Lines of code 935
Logical lines of code 356
Comment lines 314
Methods 34
Properties 13

Methods 34

Method Rating Maintainability Complexity Lines of code
routes()
A
28
2 228
before_create()
A
48 11 29
associate_post_with_creation()
A
48 10 33
maybe_adjust_canonical_posts()
A
45 9 45
before_update()
A
51 9 29
restore_video_data()
A
48 8 33
get_image_sizes()
S
36 1 110
add_images_to_creation()
S
49 6 30
unassociate_post_with_creations()
S
46 5 45
handle_save_post()
S
53 6 24
get_creation_ids_by_post()
S
51 6 24
update_creation_rating()
S
47 5 37
add_creations_to_search()
S
51 5 27
after_update()
S
60 5 13
reset_term_associations()
S
61 5 12
publish_creation()
S
54 4 21
additional_perform_time()
S
64 5 9
check_for_list_steps()
S
59 4 13
recipe_json_ld_prep_creation()
S
56 3 20
prep_publish_creation()
S
56 2 19
after_delete()
S
67 3 8
remove_empty_list_wysiwyg()
S
70 3 6
get_imported_images()
S
64 3 9
render_view()
S
54 1 28
init()
S
50 1 27
reset_term_association()
S
64 2 9
list_json_ld_output()
S
71 2 6
get_creation_type()
S
63 2 10
get_instance()
S
70 2 7
should_set_object_terms()
S
72 1 5
custom_schema()
S
67 1 8
recipe_json_ld_filters()
S
74 1 4
diy_json_ld_filters()
S
74 1 4
adjust_canonical_posts()
S
80 1 3